/*****************************************************************************
 *
 *                      HUSONG PROPRIETARY INFORMATION
 *
 *          The information contained herein is proprietary to HUSONG
 *           and shall not be reproduced or disclosed in whole or in part
 *                    or used for any design or manufacture
 *              without direct written authorization from HUSONG.
 *
 *            Copyright (c) 2015 by HUSONG.  All rights reserved.
 *
 *****************************************************************************/
package me.send.data.service.service;

import java.util.List;

import me.send.data.service.mapper.UserRoleMapper;
import me.send.data.service.pojo.User;
import me.send.data.service.pojo.ManagerRole;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author maxmin
 *
 * @date 2015年9月10日 上午11:16:23
 */
@Service
public class UserRoleService {
	
	@Autowired
	UserRoleMapper userRoleMapper;
	
	public List<ManagerRole> getUserRolesByUser(User user){
		return userRoleMapper.getUserRolesByUser(user);
	}
}
